// import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
// import App from "./App.tsx";
import { Provider } from "react-redux";
import { store } from "./store/index.ts";
import "@ant-design/v5-patch-for-react-19";
import zhCN from "antd/es/locale/zh_CN";
import { ConfigProvider } from "antd";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import router from "./router/index.tsx";

createRoot(document.getElementById("root")!).render(
  <ConfigProvider locale={zhCN}>
    <Provider store={store}>
      <RouterProvider router={createBrowserRouter(router)} />
    </Provider>
  </ConfigProvider>
);
